package com.atguigu.seckill.service;

import com.atguigu.seckill.to.SeckillSkuRedisTo;

import java.util.List;

/**
 * description: SeckillService
 * date: 2023/1/4 23:00
 * author: MR.孙
 */

public interface SeckillService {
    void uploadSeckillSkuLatestDays();

    List<SeckillSkuRedisTo> getCurrentSeckillSkus();

    SeckillSkuRedisTo getSkuSeckillInfo(Long skuId);

    String kill(String killId, String key, Integer num) throws InterruptedException;
}
